package com.jyw.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 系统工单自动派单对象 sys_order_auto_dispatch
 *
 * @author zhangcheng
 * @date 2024-01-12
 */
@Data
@TableName("sys_order_auto_dispatch")
@ApiModel("系统工单自动派单实体")
public class SysOrderAutoDispatch {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty("主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 派单模式(1报修科室 2故障分类)
     */
    @ApiModelProperty("派单模式(1报修科室 2故障分类)")
    private Integer dispatchMode;

    /**
     * 故障类型
     */
    @ApiModelProperty("故障类型")
    private String faultType;

    /**
     * 报修科室
     */
    @ApiModelProperty("报修科室")
    private Long deptId;

    /**
     * 派单类型(1用户 2小组)
     */
    @ApiModelProperty("派单类型(1用户 2小组)")
    private Integer sendType;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long sendUser;

    /**
     * 小组id
     */
    @ApiModelProperty("小组id")
    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private Long sendTeam;

}
